#include <UIKit/UIApplication.h>

#include "MainViewController.h"
#include "AppDelegate.h"

AppDelegate::AppDelegate()
{
    m_viewController = NULL;
}

AppDelegate::~AppDelegate() {
}

#include <QDebug>
void AppDelegate::applicationDidFinishLaunching (UIApplication *application) {
    Q_UNUSED(application)

    m_viewController = new MainViewController;
}

void AppDelegate::applicationWillTerminate (UIApplication *application) {
    Q_UNUSED(application)

    delete m_viewController;
    qDebug("Application Will Terminate");
}

